package Campus.help.task.dao;

import Campus.help.task.entity.OrderEvaluationInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haoyun.xiong
 * @since 2023-05-09
 */
public interface OrderEvaluationInfoMapper extends BaseMapper<OrderEvaluationInfo> {

    boolean delEvaluation(@Param("id") Long id,@Param("userId") Long userId);

    List<OrderEvaluationInfo> getEvaluaInfos(LocalDateTime now);
}
